home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 39
/
Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso
/
Aminet
/
mus
/
misc
/
spcli.lha
/
SongPlayerCLI
/
Rexx
/
SpCLI
/
Select.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-08-23
|
556b
|
28 lines
/*
SongPlayerCLI v1.52 (by Gareth Griffiths)
E-Mail: gazchap@btinternet.com
Select.rexx - Prompts for, and then moves to, a selected file.
*/
IF ~SHOW('P','SONGPLAYER.1') THEN DO
ADDRESS COMMAND
SAY "Can't find ARexx port 'SONGPLAYER.1'"
EXIT
END
OPTIONS RESULTS
ADDRESS COMMAND
PARSE ARG num
IF num = "" THEN DO
OPTIONS PROMPT 'Enter ID Number: '
PULL num
END
ADDRESS SONGPLAYER.1
'SELECT 'num
'PLAY'
'GET_TITLE';title=result
'GET_ARTIST';artist=result
'GET_SELECTED';index=result
ADDRESS COMMAND
SAY 'Current File: ('index') 'artist': 'title
EXIT